"Animate ALL THE THINGS !" panel

This panel lets you animate the display parameters of the FITS file itself, rather than moving the camera. Only parameters which are real, numerical values can be animated. Discrete, integer, and non-numerical values will not be animated, and FRELLED will use the current value for these throughout the animation, e.g. colour scheme.

By default, all possible display parameters will be animated for a single specified FITS file. It's also possible to use a different FITS file per frame, e.g. in a time series, using the "Animate FITS" toggle button. If enabled, FITS files must have the same prefix and counting syntax, e.g. MyFile_001.fits, MyFile_002.fits, etc.

The camera animation (if anything has been set up) is enabled by default, but can be disabled with the "Animate camera" checkbox. This is effectively another way to set the number of frames in a rotation to zero.

Using this method of animation, FRELLED will automatically determine which projection to render based on the current viewing angle, and will export/import that projection as required (rather than having to do all three projections for every frame). However, if you disable the "Show FITS file" toggle in the "Files" panel of the Analysis tab, the FITS data will not be exported or imported at all. This is useful for rendering isosurfaces - see below.

This feature of animating the data display can be used through the GUI, but it is easy to do all this via script instead. See the template script "External_AnimationFiles.py" in the "FRELLEDScripts" subdirectory - it's basically just a matter of providing a list of start and end values to animate.


To use this feature via the GUI :
- Navigate to the first frame of the animation, typically 1. Do this using the timeline slider at the bottom, either by left-click-drag to place the green line, using the keyboard cursor keys, or by setting the value directly in the "Current Frame" box next to the playback control buttons (play, fast forward etc.).
- Set the initial values of all the parameters you want to animate, for example, the data range to use or the opacity.
- Press the "Set start display" button.
- Navigate to the final frame of the animation, set the final values of the parameters to animate, press the "Set end display" button.
- Press the "Prepare animation" button. This will interpolate all the values between the initial and final values specified for the start and end frame, written as a series of text files stored in the "AnimationDisplayFiles" subdirectory.
- Set the render path to store the images using the file selector box in the "Camera animation control" panel.
- Finally, start the animation. To do this, save the .blend file (use Blender's file menu) then re-open the file. This will now begin the animation. Once complete, the animation will automatically be disabled and you can open the file as normal.

To disable the animation manually, see the "AnimationControl.txt" file in the "AnimationDisplayFiles" subdirectory.

As well as animating the volumetric display, isosurfaces can also be animated. For this to work you must have created a special region "Whole Cube" region available from the drop-down menu (Analysis tab -> Region setup panel). You can then define their minimum, step, and maximum values in the "Region mapping" panel and follow the same procedure as above. For isosurfaces it can be advisable to disable the view of the FITS file (Analysis tab -> Files menu). You should also choose "Full render" in the Figures tab -> Camera animation control panel, as their realtime display is much more crude compared to their rendered view, and their rendering speed is much faster than for volumetric data.